<!DOCTYPE html PUBliC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">

    <head>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/global.css" />

        <script type="text/javascript" src="__PUBLIC__/Js/jquery-1.9.1.min.js"></script>

        <eq name="home" value="1">

            <script type="text/javascript" src="__PUBLIC__/Js/banner.js" ></script>

            <else/>

            <link rel="stylesheet" href="__PUBLIC__/Css/inside_page.css" type="text/css" />

            <script type="text/javascript" src="__PUBLIC__/Js/tab.js" ></script>

        </eq>

        <meta name="description" content="<notempty name='desc'>{$desc}<else />{$pref.desc}</notempty>">

        <meta name="keywords" content="<notempty name='keywords'>{$keywords}<else />{$pref.keywords}</notempty>">

        <meta name="viewport" content="initial-scale=1.0, user-scalable=yes" />

        <title><notempty name="title">{$title} -</notempty> 上海好家服务公寓</title>

        <!--[if IE 6]>

        <script src="__PUBLIC__/Js/DD_belatedPNG.js"></script>

        <script>

          DD_belatedPNG.fix('.logoBg img,.alphaimg,.procedure li,.picShow,.png');

        </script>

        <![endif]-->



    </head>

    <body>

        <div class="container">

            <div class="top">

                <div class="radius1"></div>

                <div class="radius2"></div>

                <div class="radius3"></div>

                <div class="radius4"></div>

                <div class="logoBg">

                        <div class="logo"><a href="__APP__/"><img width="340" height="101" alt="上海好家服务公寓" src="__PUBLIC__/Images/home/logo.png"></a></div>

                    <div class="register">

                        <span><b>租房热线：021-62660009/62770636</b>

                            <eq name="userAuthMark" value="1">

            <a href="#">欢迎您! {$_SESSION.MemberName}</a> |

            <a rel="nofollow" href="__URL__/logout">退出</a>|

            <a rel="nofollow" href="__APP__/Member">会员中心</a>

        <else/>

           <a href="__APP__/Index/register">免费注册</a>|

           <a href="__APP__/Index/login">登录</a>

        </eq>|<a href="#">English</a>|<a href="__APP__/Index/help">帮助</a></span>
        <span>
        	<img width="306" height="47" alt="珍惜所托、用心服务" src="__PUBLIC__/Images/title_pic1.png">
        </span>

                    </div>

                </div>

                <div class="menu">

                    <ul>

                        <li><a href="__APP__/">首页</a></li>

                        <li><a href="__APP__/Index/page/id/115" title="上海商务住宿">企业客户</a></li>

                        <li><a href="__APP__/Index/page/id/113">征集房源</a></li>

                        <li><a href="__APP__/Index/listing/id/78" >新闻杂谈</a></li>

                        <li><a href="__APP__/Index/page/id/112">支付方式</a></li>

                        <li><a href="__APP__/Index/listing/id/64">常见问题</a></li>

                        <li><a href="__APP__/Index/page/id/114" title="上海好家服务公寓联系方式">联系我们</a></li>

                        <li><a href="#">微博</a></li>

                        <li><a href="__APP__/Index/listing/id/72">上海百事通</a></li>

                        <li><a href="__APP__/Index/union">联盟公寓</a></li>

                    </ul>

                </div>

                <eq name="home" value="1">

                    <php>

                        function getAdLogo($id){

                          $Attach = M('Attach');

                            $logo = $Attach ->where('form_id ='.$id.' and attachfunc = 2')->field('id,filename,path')->find();

                            if(!empty($logo['filename'])){

                                $logo_photo = __ROOT__.substr($logo['path'],1).$logo['filename'];

                                return $logo_photo;

                            }

                            else

                              return 0;

                      }

                    </php>

                    <div class="banner">

                        <ul style="left: -1000px; width: 5000px;">

                            <volist name="ads" id="ad">

                                <li> <a href="http://{$ad.url}"><img src="{$ad.id|getAdLogo}" alt="{$ad.name}" width="950px" height="300px"></a></li>

                            </volist>     

                        </ul>

                        <span>

                            <a class="alphaimg" href="javascript:void(0)"></a>

                            <a class="alphaimg click" href="javascript:void(0)"></a>

                            <a class="alphaimg" href="javascript:void(0)"></a>

                            <a class="alphaimg" href="javascript:void(0)"></a>

                        </span>

                    </div>

                </eq>

            </div>

